package com.danciyixue.boot.dcyx.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 单个学生分配老师表单
 */
@Getter
@Setter
@Schema(description = "学生归属老师分配表单")
public class DcyxAssignTeacherForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "老师ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "老师ID不能为空")
    private Long teacherId;
}
